package ThreadPool.lagou.concurrent.demo03;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: TODO
 * @date 2022/5/24 21:04
 */
public class Main {

    public static void main(String[] args) throws InterruptedException {
        MyQueue myQueue = new MyQueue();
        new ConsumerThread(myQueue).start();
        new ProducerThread(myQueue).start();

        Thread.sleep(5000);
        System.exit(0);
    }
}
